Make special-key matching case sensitive
authorjustbur <justin@burkett.cc>
Tue, 17 Nov 2015 03:31:10 +0000 (22:31 -0500)
committerjustbur <justin@burkett.cc>
Tue, 17 Nov 2015 03:31:10 +0000 (22:31 -0500)
which-key.el

index 175832175f6603989ca39ec84b0d9a5742d6369d..af8e88edd6925af884780231d7702b5c43bb1ade 100644 (file)
@@ -1117,7 +1117,8 @@ If KEY contains any \"special keys\" defined in
   (let ((key-w-face (propertize key 'face 'which-key-key-face))
         (regexp (concat "\\("
                         (mapconcat 'identity which-key-special-keys
-                                   "\\|") "\\)")))
+                                   "\\|") "\\)"))
+        case-fold-search)
     (save-match-data
       (if (and which-key-special-keys
                (string-match regexp key))